package com.ece.devirtualizus.ModelDto;

import java.util.ArrayList;

import android.os.Parcel;
import android.os.Parcelable;
import android.util.Log;

public class User {

	// User datas
	private String id;
	private String name;
	private String num;
	private String motto;
	private States state;	
	private GeneralProgressBarDto generalProgressBarDto;
	
	public GeneralProgressBarDto getGeneralProgressBarDto() {
		return generalProgressBarDto;
	}

	public void setGeneralProgressBarDto(GeneralProgressBarDto generalProgressBarDto) {
		this.generalProgressBarDto = generalProgressBarDto;
	}

	// Stockage session local
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public States getState() {
		return state;
	}

	public void setState(States state) {
		this.state = state;
	}

	public User() {
		super();
		generalProgressBarDto = new GeneralProgressBarDto();

	}

	@Override
	public String toString() {
		return "User [name=" + name + ", num=" + num + ", motto=" + motto + "]";
	}

	public User(String id, String name, String num, String motto, States state) {
		super();
		this.id = id;
		this.name = name;
		this.num = num;
		this.motto = motto;
		this.state = state;
		generalProgressBarDto = new GeneralProgressBarDto();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNum() {
		return num;
	}

	public void setNum(String num) {
		this.num = num;
	}

	public String getMotto() {
		return motto;
	}

	public void setMotto(String motto) {
		this.motto = motto;
	}

}
